﻿using System.Runtime.InteropServices;
using Baula.TextGen.Framework;

namespace Baula.TextGen.ComAndVbeIntegration.ComInterfaces
{
    [ComVisible(true)]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    [Guid("57051B29-68D5-413E-9168-8CC4039DAD02")]
    public interface IDocumentForCom
    {
        string RenderToString(RenderMode renderMode = RenderMode.Heading);
        void AddPart(IPartForCom part);
        void SetValueForPlaceholder(string placeholderName, string value);
        int PartCount { get; }
    }
}